<#macro layout>
    <html>
    <head>
        <!DOCTYPE HTML>
        <html>
        <head>
            <meta charset="utf-8">
            <meta charset="utf-8">

            <meta name="renderer" content="webkit|ie-comp|ie-stand">
            <meta http-equiv="X-UA-Compatible" content="IE=edge">
            <meta name="viewport"
                  content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
            <meta http-equiv="Cache-Control" content="no-siteapp"/>
            <!-- 网站图标 -->
            <link rel="shortcut icon" href="/favicon.ico"/>
            <meta name="Author" contect="Allen Peng"/>
            <link rel="stylesheet" href="${CTPATH}/assets/css/layui.css">
            <title>${WEB_TITLE!WEB_NAME!} </title>
            <meta name="keywords" content="${META_KEYWORDS!}"/>
            <meta name="description" content="${META_DESCRIPTION!WEB_SUBTITLE!'欢迎使用JPress'}}"/>
        </head>
    <body data-spy="scroll" data-target=".navbar-fixed-top">
    <#include "_inc/header.html"/>
    <#nested/>
    <script src="${CTPATH}/assets/layui/layui.js"></script>
    <script>

        //一般直接写在一个js文件中
        layui.use(['layer', 'form'], function(){
            var layer = layui.layer
                ,form = layui.form();

            layer.msg('Hello World');
        });
    </script>
    </body>
    </html>
</#macro>